package com.xyht.sca_s.student_manage_system.modules.commonExamine.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 通用审批
 * </p>
 *
 * @author XYHT
 * @since 2023-04-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_common_examine")
@ApiModel(value="SmsCommonExamine对象", description="通用审批")
public class SmsCommonExamine implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "申请人")
    private String examineApplyUser;

    @ApiModelProperty(value = "审批标题")
    private String examineTitle;

    @ApiModelProperty(value = "审批详情")
    private String examineDetail;

    @ApiModelProperty(value = "审批图片")
    private String examinePic;

    @ApiModelProperty(value = "审批附件")
    private String examineFile;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableLogic
    private Integer isDeleted;

    @ApiModelProperty(value = "审批状态 0：待审批  1：通过  2：结束  3：取消")
    private Integer examineStatus;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;


}
